//
//  EOCSoundPlayer.h
//  Test
//
//  Created by 杨德龙 on 2017/6/15.
//  Copyright © 2017年 HipalSports. All rights reserved.
//

#import <Foundation/Foundation.h>

@class EOCSoundPlayer;

@protocol EOCSoundPlayerDelegate <NSObject>

- (void)soundPlayerDidFinish:(EOCSoundPlayer *)player;

@end


@interface EOCSoundPlayer : NSObject


@property (nonatomic,weak)id<EOCSoundPlayerDelegate>delegate;

- (instancetype)initWithUrl:(NSURL *)url;

- (void)playSound;


@end
